Clicking on the gear icon resets the expanded menu