pull to refresh works and fixed bug with add patient