Button control states / functions.