fixed 'Add task' functionaity in header