Added broardcast receiver to detect orientation chages.