Move call and send functions to onCreate