Please, check one thing - will alarm-ui rotate if you don't have background app? Turn on new alarm, run grob (for example) and don't hide it, just lock your phone and wait for alarm... If alarm will come in landscape - try to rotate it to portrait.