fixed bugs with orientation changing such as sideways camera preview and button text changing also the preview is centered in landscape mode