Some Errors with Calculator Activity

History Activity is working fine, but Calculator Activity is giving
error.