added remove task functionality