Add resolution preferences

Signed-off-by: Umair Khan <omerjerk@gmail.com>