Make server global variable so that it isn't recreated when moving between main activity and join jam activity and back.