removed unnecessary imports
added actionbar buttons and added layer cahnging functionality