Fix twitter deny access bug and make 5.18 ok

Hi Gugod,

Hope you are well.  I just discovered a bug when you deny access from Twitter to the app.

I also wanted to upgrade past 5.18, so i removed given/when.

Best,
Luke