Fixing active states for buttons in mobile