[GUI] Functional "save image" function