Settings: Fixed force close issue when the window is shown without the action bar (tablets)

Change-Id: Id4d9be361dec60a14e7fc26a4b9b7d2906c4abe3