Hide button in close mode
Disable test code to get lock mode
Update dist