calc issues, selected edit text being zeroed when switching orientation