SumOrSubstract using Fragments instead of the activities. Should work for both handsets and tablets