Fixed landscape crash in AlertActivity and adjust Setting layout