Button is not working when serial is reading?

You're right! I tested it. Thank you.