forgot to invalidate buttons