Added calculateButtonListener