Improve the performance when app startup