Moving functionality for updating writing status from the swing mediator to the controller