Created preferences activity with buffering setting