Remove left over code from preference removal