Added shouldResignOnTouchOutside boolean