private boolean attemptWriteConfig() {
		File fh = new File(rootPath + "config.ini");
		if (fh.exists() && !fh.canWrite()) {
			return false;
		}

		try {
			PrintStream ps = new PrintStream(new FileOutputStream(fh), true,
					"UTF-8");
			ps.println("autoupdate=" + autoUpdateEnabled);
			ps.println("checkedcustomnames=" + haveCheckedCustomNames);
			ps.close();
			return true;
		} catch (IOException e) {
			return false;
		}

	}