Improve code for "tap to toggle" for so-called alt elements (the status bar)