Added buggy preferences fragment and altered ui slightly.