I have created two arraylists, one of runnables and the other a boolean. When a user clicks a button, a runnable is added to the arraylist. If the runnable arraylist is empty, t