Created add new task functionality.