updated time saving method to be in seconds and added auto inputbox focus