Fixing MainActivity