Created add and remove task functionality