Test mode is finished
Fixed a bug with menu