Removes unnecessary actions from the android manifest.
Adds reason field to the custom exception.