Minimize Gui notification function