Added ability to display shared pies depending on device