Button for scaling and solved some variants