Refactoring
Changed zoom controls preference to a switch. Refactoring