Add logic to table view to control timer