Fixes the problem of changing orientation by specifying the handling of these events by the activity ini the manifest.xml