Added Things to calculateButtonPressed Slot