Motor not responding on button click