Fixed Delete Action Mode Issue (Issue#853)

This is the same pull request https://github.com/Catrobat/Catroid/pull/874 created by me. Those changes were implemented in my local master branch. I have created this new branch to resolve some issues in my local branch.