Sometimes it's repair mouse and energy saving mode bug in photoshop
- reseting PRAM (after turn-off, turn-on while holding CMD+ALT+P+R up to second gong), how to on your mac: http://support.apple.com/kb/ht1379
- reseting SMC (after turn-off, turn-on while holding SHIFT+CTRL+ALT(option) + POWER) how to on your mac:http://support.apple.com/kb/HT3964
- CMD+S boot in safe mode
- CMD+R boot in recovery mode
Repair WiFI Yosemite (from http://osxdaily.com/2014/10/25/fix-wi-fi-problems-os-x-yosemite/)
- Turn Off Wi-Fi from the Wireless menu item
- /Library/Preferences/SystemConfiguration/
- Remove
com.apple.airport.preferences.plist
com.apple.network.identification.plist
com.apple.wifi.message-tracer.plist
NetworkInterfaces.plist
preferences.plist
- Reboot