Fix hide window when press enqueue button

Signed-off-by: Artsiom Marozau <Artsiom_Marozau@epam.com>