Refactor of Master test_homescreen_delete_app.py

Refactor the test to work around is_displayed issue for the icon.
Delete the app in setUp
Switch panels using `has_more_pages` loop.