User appcompat support library, implement shared preference (has bug)