Added possibility to submit changes to a task and save them to the database