Fixed dispatcher to show 404 if no app selected