Fixed calculator state after rotation

Fixes #204. Though after rotating screen, numbers without decimals will add `.0` to the back, e.g. `2 x 2.5` will be `2.0 x 2.5`.