Adding CMD_OPEN_PREFERENCES