Fixed calendar loading no database found bug