Repair "Apply" button

Now, when pushed "Apply" all setting going to xml.