Add function to add new task by hitting return key