Disable orientation change, remove deprecated things from xml