changed the styling of the status once selected