added new default parameter to admin.changeEditBar function in order to ...

...call a class with function if needed

This addition makes it possible to call the changeEditBar function and pass a function name which should be called in the controller.