add button calculate and implementation of the logic