Fix undefined button notice.