Removed unnecessary code from the app.