Created option to either take photo or upload from gallery, code for starting up camera and opening photo gallery added