Improved the app performance and fixed errors.