implemented button styles
fixed possible npe in handleHandlerMessage
Added HeadlessFragment to retain fragment data across device rotation. Correctly removing fragments on orientation change