added intent flags to reset activity stack