Added preferences activity to expand