Well she doesn't just have fun with Patrick, she had fun at her party and he wasn't even there
He just gives her the little push to stop being so careful all the time and to relax. Like in the finale, she was all set on forgetting what she believed in because she was scared of being rejected from Brown because of it. Then she see's how it effects Patrick and how he walks out and it's like the push she needs for me.