Fix bug. App crashes when installing it