[CAT-780] fixed Back Button Behaviour in Object View

fixed behaviour and adapted tests

testrun:
https://jenkins.catrob.at/view/All-Categories/view/Catroid-multi-job/job/Catroid-Multi-Job-Custom-Branch/1990/
Please reformat the code, so it's consistent.