[GUI] Fixed bug when hitting pause button whithout any file loaded