Bugfix when loading activity from backend