Answer:
Yes, his attitude toward his task has changed in Act IV.
Explanation:
In Act IV, Hamlet is now acting out of passion, unconcerned for any potential consequences from carrying out his task at hand. Since the entire act is one of deceit all around, Hamlet is deceiving everyone as well, putting his thoughts at bay rather than being overtly forward with them.
Hope this helps. Good luck and God bless. Jeremy