changed ui to accept port no and raise toasts for changed port no

	added condition object for exiting thread

	saving port no in shared preferences

	python script also accepts port

	set default port for app and script to 9191
	missed to add Condition to previous commit