public static boolean setMode(final StoreMode m) {
		if (m == null)
			return false;
		WidgetChild wc;
		return getMode() == m || visible(wc = getChild(m == StoreMode.WIDE ? WIDE_MODE : THIN_MODE)) && wc.click(true)
				&& new TimedCondition(1400) {

					@Override
					public boolean isDone() {
						return getMode() == m;
					}

				}.waitStop();
	}