Dog learns to call for treats by ringing bell