implemented Parcelable to preserve calculator state over layout switch