Fixed settings panel
Added check for valid paste type
Fixed api args.