Fixed calculator state after rotation
Changed constant name for better representation
Merge pull request #207 from i906/dev

Fixed calculator state after rotation