Renamed open_or_closed_status to set_open_or_closed_status

Moved setting of open status test into set_open_or_closed_status method