format code to match kotlin guidelines remove redundant underscores on function destructuring handle deprecated calls on lower android versions