Having bugs

Can't test this, app doesn't even open, crashes only.