Fix INI saving

Changes:
 * Removed closing-bracket at the end of property value
 * No double newline at the end
Save persistence when refreshing