fixed menu stuff
database added by ben
only adds tasks with valid title and time
task only added with valid name and time