Add initial version of preferences dialog