Fixed small bug

That made the app crash on the home page. WOW.