layout adding/removal
Revert "layout adding/removal"

This reverts commit 6d4712a5d3881a24a2e2ededd4d81f09cd63164c.
Defined preference resources and created prefs xml file