avoid stopping app in case of accessing empty db

Empty database is made by exception for loading apns.
When accessing empty database, Setting App is stopped, sometimes.
To avoid stopping app, check null if occuring SQLException

Change-Id: I36e6676c54bd8b182fb16f896e04b8e051d3bf2d
1 file changed