Add exception handler to onCreate