Fixed the redirect for adding a task