added repeating interval attribute to Task class and UserInput class