obsolete dir preference activity has gone
obsolete code