Add invalidate method to button widget

Signed-off-by: bergerkiller <bergerkiller@gmail.com>