The invention relates to a method of controlling a portable user device (100, 420), the method comprising the steps of (260) detecting a change of orientation of the portable user device, and (270) selecting, upon said detection of the orientation change, at least one command from a list of commands. The device may automatically personalize its user interface and provide, for instance, different functionalities to respective users.