Thanks Dave, its working now with your method.
still wandering why the button command do not work.