Add task creating template and code.
Fix bugs with updating and saving tasks to the database.