Fix bug where preferences changes are not applied
Fix erroenous longclick detection
Merge pull request #477 from timrae/apply_settings

Fix bug where preferences changes are not applied