Implemented Buttons and added scale variables in Window