I have a button that when pressed will pop a table up showing all the correct or incorrect slides on an activity. How can add some code so that when you go to a different slide away from the button it will reset the button and hide the table?
timeSincePress will jump to the max when you change screens. This was implemented primarily to keep students from returning to screens with animations still in progress.
There is, however an option on buttons to reset time when a student navigates away: