Progress Bar widget not working properly with Sessions