change 3 line of codes only in button1 func