Added pdf export by pressing the r key