renamed db and added platform dependent saving path
added getAppSaveDir method to get the platform dependent saving path
bug fix in popup display position