Use MainScope instead of GlobalScope managed in the application class Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>