Popup hint config via shared preferences

+ more cleanups