Don't add application into XML menu file if we edit it.

On g_file_replace() for menu:// item we should not call any XML editing
since we replace existing file so no menu tree changes should be done.