Fixed setStarred and setFlagged methods
Changed the constructor of compressedRow (added a synchronized block)