Clicking on Settings after adding new count crashes the app