Since you extend `BaseActivity`, this `case` isn't needed. See [here](https://github.com/Catrobat/Catroid/blob/master/catroid/src/org/catrobat/catroid/ui/BaseActivity.java#L44-L54).