While bitter apple spray will work for some dogs you are only stopping the behaviour, not correcting the reasons for it. If this works for you then that is fine but by getting to the roots of a behaviour it will have follow on effects in other areas and increase the dog's respect and willingness.