Problem with orientation change fixed.