Button code check