Added landscape mode and saved state across rotation