correctly sets the status of repository when changed
Repository status may be changed closes #43

The status is not being selected correctly when the page loads.