Fix for document status

- New protected method SimpleDocument.setStatus