Prevents activity recreation when rotating screen. Fixes issue #18, #23 and #24