Use given preference key in getBoolean; fixes #5
Updated version: code=7, name=1.2.4