This paper presents a system that prioritizes user actions according to the domain context and user preferences, in order to provide the adaptation process with a partial order of functionalities, useful to optimize the user interface with the main goal of minimizing screen usage and user interaction. The solution is instantiated in a smart home environment in the form of a smart user interface exploiting visual means to convey information. An user evaluation based on this use case is provided, confirming the benefits of the solution in terms of utility and easiness of usage.