show dialog allowing state loss
remove listener in order to avoid memory leak in preferences
fix constant in GridView
Merge pull request #652 from rus1f1kat0r/master

Minor fixes