Fixing menu-bar active status