Added two config options to pin the calendar and to not exit on background click