Added manifest and check wifi connection and facebook information before running.