Nicolas Malvagna, the man who hurled his cell phone at pop star Bebe Rexha, appeared in court on July 31