Better time handling

Instead of updating the time in realtime just calculate the elapsed time
between click on an button either on it self, another button or creating
a new button