bugfix in RemoveBinding: check if mBinding is defined before calling method on it