boolean isUnlock = pref.getInt(Constant.PREF_DELETE_LOCK)== Constant.ON;
if (isUnlock){
pref.put(Constant.PREF_DELETE_LOCK, Constant.OFF);
boolean isUnlock = pref.getInt(Constant.PREF_DELETE_LOCK)== Constant.ON;
if (isUnlock){
pref.put(Constant.PREF_DELETE_LOCK, Constant.OFF);