be explicit that app-bar should be closed, not toggled
Some code cleanup