Fixed manifest and code that's causing the app to crash