Enable button function.