removes status attribute and css selection based on task status