Use the input style changed signal to update the gui.