David Cameron said it was time to renegotiate Britain&#39;s role in the EU