Implemented basic preferences in devicelistactivity