My MacBook Pro won't shutdown
I started noticing this problem this morning. I have 2010 MacBook Pro, I recently had the hard drive replaced and have the latest version of Mavericks. At first I noticed known the links I had clicked on google and reddit weren't turning purple, then I noticed I wasn't getting any e-mail on the mail app or new messages on iMessages, but were receiving them on my phone. I tried to restart my computer, but it didn't work, I then tried to shut down, but that didn't work either so I had to force it to shut down. After I restarted, it asked if I wanted to restore any of the windows and would work fine for about half an hour until the same problems began again. I have been dealing with this all day and I'm starting to get worried there may be something more serious happening if anybody could help me that would be great.
MacBook Pro (13-inch Mid 2010), iOS 7.0.6, recently replaced hard drive