Fix the settings panel freeze

When one of the list items are selected from the settings panel
then the whole panel freezes until either the app is restarted or
the entries are long clicked.

This is reproducible on any HDPI devices even with the Official
Gallery app from Google.

Change-Id: Ibcc8eaf086288b5f020816e87a34f8e2f605c74a