Add screen saver setting configure function

1. Add screen saver setting configure function
2. fix a coding bug in hook dll