added preferences screen. fixed click on notification.