Save selectRnageCondition for next use
Remove redundant debug logs and code
Update appcache