Change form for add and edit tasks