[Android] No need to call flush() before closing a stream. close() calls the flush method before actually closing the stream.
[Android] Add comments to prefs.xml to clarify which section starts where within the XML.
Merge pull request #331 from lioncash/master

[Android] Minor changes