Added code to take picture/pick picture from gallery