Button: remove unnecessary function