fix initialization order
manually refresh button state
readme file