Second Patch for Power Button

This patch of OSX power button leads to following behavior:
- press power button less than 1.5 sec -> nothing happens
- press power button more than 1.5 sec but less than 8 sec -> shows
shutdown dialog
- press power button more than 8 sec -> system powers off