fixing bug where modifying wait times would cause the selected item to become unchecked.