Add setting to choose whether to open PDF in external app