Added a switch button and changed the minSDKVersion to 14 so the warning went away on my button