Initialization of example on program start + hide\show method fix