changed timer button pressed and added outcome to data logging