Adding error handler for ActivityNotFoundException.