Add title, tap background to cancel, fix infinite buttons issue.

- Added a title label as in Apple’s.
- Added ability to cancel by tapping background.
- Fixed the issue where part of the sheet extends out of the screen
when creating lots of buttons.