Fixed #42: tapToDismissEnabled

Also fixed the potential issue of initializing properties using
self.xxx from the designated initializer method.