Replace the gas cap with an OEM sensor to begin with, it may solve your EVAP code.
P0140 is a rear oxygen sensor high voltage malfunction and is not critical to engine operation. Replace it with
this Bosch OE-type O2 sensor from Advance Auto Parts - you can purchase it for $52.99 before tax if you order online using discount code
VISA and pick-up in store. Bosch is the manufacturer for the original O2 sensor. You will require a 22mm or 7/8" oxygen sensor socket for replacement.
See
this post for possible causes regarding P1491.