PremiumSQLHelper: Fix bug

Fix bug where the app crashes if Lite is not installed.
PremiumSQLHelper: Refactor code into `isLiteInstalled()`
Merge pull request #248 from codeguru42/premium/sqlhelper-bug

PremiumSQLHelper: Fix bug