Added updated functionality to the app. App does crash when spin button is pressed. Find a way to fix it.