methods showLowLevelActions and hideLowLevelActions() are doing almost the same thing. Isn't it better to have one method and as the argument pass the "switch" whether to hide or show elements?